package com.ezops.dao.facade;

import java.io.Serializable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ezops.dao.ResourceDAOImpl;
import com.ezops.dao.generics.dao.hibernate.GenericDAO;
import com.ezops.models.Resource;



/***
 * Resources DataTransfer Facade , handles all general Resources object cache access operations
 * @author HindsC
 *
 */
@Service("ResourceDataTransferFacade")
public class ResourceDataTransferFacade extends DataTransferFacadeImpl<Resource> implements DataTransferFacade<Resource> {

	final static Logger logger = LoggerFactory.getLogger(ResourceDataTransferFacade.class);
	
	@Autowired
	private ResourceDAOImpl dao;

	@Override
	public GenericDAO<Resource, Serializable> getDataAccessObject() {
		// TODO Auto-generated method stub
		return dao;
	}
	
	
}
